<?php

declare (strict_types=1);
namespace App\Models\GameDB\LuckyStrike;

use Illuminate\Database\Eloquent\Model;
/**
 * @property int $id
 * @property int $pool_id
 * @property int $multiple_min_interval
 * @property int $multiple_max_interval
 * @property int $close_interval_pool_min_coin
 * @property int $open_interval_pool_max_coin
 * @property int $reparation_user_min_input
 * @property int $reparation_user_min_loss
 * @property int $open_multiple_min_coin
 * @property int $is_open_multiple
 * @property int $is_open
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 */
class RebatePoolSetting extends Model
{
    protected $connection = 'mysql_game';
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'ln_rebate_pool_setting';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $guarded = [];
    // protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'pool_id' => 'integer', 'multiple_min_interval' => 'integer', 'multiple_max_interval' => 'integer', 'close_interval_pool_min_coin' => 'integer', 'open_interval_pool_max_coin' => 'integer', 'reparation_user_min_input' => 'integer', 'reparation_user_min_loss' => 'integer', 'open_multiple_min_coin' => 'integer', 'is_open_multiple' => 'integer', 'is_open' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];

    public function getDateFormat(): string
    {
        return 'Y-m-d H:i:s.u';
    }
}
